package com.ly.emp.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 月度汇总查询列表动态表头返回值
 *
 * @author chenfeng
 * @Date 2023/2/12 15:47
 * @copyright Copyright(c)2012 杭州致成电子科技有限公司
 */
@Schema(description = "月度汇总查询列表动态表头返回值")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DynamicTableHeadListVo {

    @Schema(description = "表头字段名（和数据列表属性名对应）")
    private String headCode;

    @Schema(description = "表头名称")
    private String headName;

    @Schema(description = "是否查看详情")
    private Boolean checkDetail = false;

    public DynamicTableHeadListVo(String headCode, String headName) {
        this.headCode = headCode;
        this.headName = headName;
    }
}
